package imgshare.service;

import imgshare.model.Notification;

import java.util.List;

public interface NotificationService {

    void create(Notification notification);

    List<Notification> findByReceiverId(Integer userId);

    int countUnreadNoticeByReceiverId(Integer receiverId);

    void update(Notification notification);
}
